<!--
 * @Author: your name
 * @Date: 2021-08-30 19:06:02
 * @LastEditTime: 2021-08-30 19:06:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \宏烨找房\client-applet\src\views\personal\index.vue
-->
<!--  -->
<template>
  <div class="personal">
    <div class="header">
      <van-icon name="arrow-left" @click="gopersonal" />
      <span>个人资料</span>
      <span></span>
    </div>
    <div class="main"></div>
  </div>
</template>

<script>
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {},
  data() {
    //这里存放数据
    return {};
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {
    gopersonal() {
      this.$router.go(-1);
    },
  },
  //生命周期 - 创建完成（可以访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
};
</script>
<style lang="scss" scoped>
.personal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  .header {
    width: 100%;
    height: 50px;
    background: #f6f5f6;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
    font-size: 18px;
  }
  .main {
    width: 100%;
    flex: 1;
    overflow-y: auto;
  }
}
</style>
